﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MediaClasses
{
    public class PageInfo
    {
        public string Bookmark { get; set; }
        public int ImageFileSize { get; set; }
        public int ImageHeight { get; set; }
        public int ImageIndex { get; set; }
        public int ImageWidth { get; set; }
        public ComicPageType PageType { get; set; }

        public bool IsBookmark 
        {
            get
            {
                return Bookmark != "";
            }
        }
        public bool IsDeleted
        {
            get
            {
                return PageType == MediaClasses.ComicPageType.Deleted;
            }
        }
        public bool IsDoublePage
        {
            get
            {
                return ImageWidth > ImageHeight;
            }
        }
    }
}
